-- CALC_STONE_BOX_BONUS

-- 隐蔽的石匣奖励
-- @param user      玩家对象
return function(user)
    local bonus = {{ 2, "money", 800 }, { 1, 9505, 1 }};
    local reagentId = ReagentM.getReagentByFormula(9505);

    -- 已有配方或者已经开放对应试剂，则失效
    if ItemM.getAmount(ME.user, 9505) > 0 or
         ReagentM.isReagentActive(reagentId) then
        bonus = { 2, "money", 800 };
    end

    return { ["bonus"] = bonus, };
end
